package com.zz.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.nio.charset.Charset;

@Component
@Data
public class ESignParameter {

    public static final String TEST = "TEST";
    public static final String PROD = "PROD";
    // todo 环境
    public static final String ENVIRONMENT = PROD;

    @Value("${sign.port}")
    private String port;

    @Value("${sign.test.id}")
    private String testId;
    @Value("${sign.test.key}")
    private String testKey;
    @Value("${sign.test.host}")
    private String testHost;
    @Value("${sign.test.ip}")
    private String testIp;

    @Value("${sign.prod.id}")
    private String prodId;
    @Value("${sign.prod.key}")
    private String prodKey;
    @Value("${sign.prod.host}")
    private String prodHost;
    @Value("${sign.prod.ip}")
    private String prodIp;

}
